package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 分润收入记录(ShareTheIncomeRecord)表实体类
 *
 * @author wwc
 * @since 2023-04-21 13:46:29
 */
@Data
@TableName("sc_share_the_income_record")
@ApiModel(value = "sc_share_the_income_record 对象", description = "分润收入记录")
public class ShareTheIncomeRecord extends SuperEntity implements Serializable {

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "分润金额")
    private BigDecimal money;

    @ApiModelProperty(value = "分润类型 1:城市寄售分红 2:城市首发分红 3:定时任务领主收益 4:城市服务中心推广分红")
    private Integer type;

    @ApiModelProperty(value = "分润状态 0:未分润 1:已分润")
    private Integer status;

    @ApiModelProperty(value = "分润的总额度")
    private BigDecimal aggregateAmount;

    @ApiModelProperty(value = "分润比例")
    private BigDecimal proportion;

    @ApiModelProperty(value = "扩展字段")
    private String extend;

}
